home *** CD-ROM | disk | FTP | other *** search
- // SampWizP.cpp : implementation file
- //
- // This is a part of the Microsoft Foundation Classes C++ library.
- // Copyright (C) 1992-1998 Microsoft Corporation
- // All rights reserved.
- //
- // This source code is only intended as a supplement to the
- // Microsoft Foundation Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding the
- // Microsoft Foundation Classes product.
-
- #include "stdafx.h"
- #include "SampWiz.h"
- #include "WizPage.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CSampWizP
-
- IMPLEMENT_DYNAMIC(CSampWizPropSheet, CPropertySheetEx)
-
- CSampWizPropSheet::CSampWizPropSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage,
- HBITMAP hbmWatermark, HPALETTE hpalWatermark, HBITMAP hbmHeader)
- :CPropertySheetEx(nIDCaption, pParentWnd, iSelectPage,
- hbmWatermark, hpalWatermark, hbmHeader)
- {
- // add all the pages of the wizard
- AddPage(&m_Intro);
- AddPage(&m_Interior1);
- AddPage(&m_Interior2);
- AddPage(&m_Completion);
-
- // set the WIZARD97 flag so we'll get the new look
- m_psh.dwFlags |= PSH_WIZARD97;
- }
-
- CSampWizPropSheet::CSampWizPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage,
- HBITMAP hbmWatermark, HPALETTE hpalWatermark, HBITMAP hbmHeader)
- :CPropertySheetEx(pszCaption, pParentWnd, iSelectPage,
- hbmWatermark, hpalWatermark, hbmHeader)
-
- {
- // add all the pages of the wizard
- AddPage(&m_Intro);
- AddPage(&m_Interior1);
- AddPage(&m_Interior2);
- AddPage(&m_Completion);
-
- // set the WIZARD97 flag so we'll get the new look
- m_psh.dwFlags |= PSH_WIZARD97;
- }
-
- CSampWizPropSheet::~CSampWizPropSheet()
- {
- }
-
-
- BEGIN_MESSAGE_MAP(CSampWizPropSheet, CPropertySheetEx)
- //{{AFX_MSG_MAP(CSampWizPropSheet)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CSampWizPropSheet message handlers
-